export function generateRandomString(length: number): string {
  let result = "";
  const characters: string = "abcdefghijklmnopqrstuvwxyz";

  for (let index = 0; index < length; index++) {
    const randomIndex = Math.floor(Math.random() * characters.length);
    result += characters.charAt(randomIndex);
  }

  return result;
}
